package com.hbnu.ojcodesandbox.security;

/**
 * @Description: 测试安全管理器
 * @Author: Hu Bowen
 */

import cn.hutool.core.io.FileUtil;

import java.nio.charset.Charset;


public class TestSecurityManager {

    public static void main(String[] args) {
        System.setSecurityManager(new MySecurityManager());


        FileUtil.writeString("aa", "aaa", Charset.defaultCharset());
    }
}
